package cn.tedu.myweb.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("Notify")
public class Notify implements Serializable {
    private static final long serialVersionUID =1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField(value = "friend_name")
    private String friendName;
    @TableField(value = "message")
    private String message;
    @TableField(value = "username")
    private String userName;
    @TableField(value = "type_id")
    private Integer typeId;
}
